<div id="cadastrar" class="ui-state-highlight">
    <h3 style="text-align: center;"><span style="font-family: Tahoma; font-size: 14px">CADASTRAR VISITANTE</span></h3>
    <form action="" method="post" id="f_cadVisitanteEditar" name="f_cadVisitanteEditar">
        <div class="fix-post">
            <label class="dtosv">
                <span class="title">Identidade:</span>
                <input type="text" name="iIdt" id="iIdt" size="10" readonly="true" value="<?=$idtVisitante?>" />			
            </label>
        </div>
        <label>
            <span class="title">Nome Completo:</span>
            <input type="text" name="iNomeCompleto" id="iNomeCompleto" value="<?=$nomeVisitante?>" />					
        </label>
        <div class="fix-post">
            <label>
                <span class="title">Acompanhante:</span>
                <select name="cmbAcompanhante" id="cmbAcompanhante">
                    <option value="" >Escolha um Acompanhante</option>		
                    <?= $comboAcompanhante ?>			
                </select>			
            </label>
            <label>
                <span class="title">Sessão destino:</span>
                <select name="cmbSessao" id="cmbSessao">
                    <option value="" >Escolha um destino</option>		
                    <?= @$comboSessao ?>		
                </select>			
            </label>

        </div>
        <h4 style="text-align: left;"><span style="font-family: Tahoma; font-size: 14px">VEÍCULO</span></h4>
        <div class="fix-post" id="divVeiculo">
            <label class="dtosv">
                <span class="title">Placa:</span>
                <input type="text" name="iPlaca" id="iPlaca" size="10" value="<?=@$placa?>" readonly="true"/>                
            </label>
            <label class="dtosv">
                <span class="title">Marca:</span>
                <input type="text" name="iMarca" id="iMarca" size="10" value="<?=@$marca?>"/>			
            </label>
            <label class="dtosv">
                <span class="title">Modelo:</span>
                <input type="text" name="iModelo" id="iModelo" size="10" value="<?=@$modelo?>"/>			
            </label>
            <label class="dtosv">
                <span class="title">Cor:</span>
                <input type="text" name="iCor" id="iCor" size="10" value="<?=@$cor?>"/>			
            </label>
          
        </div>
         <div class="fix-post">
            <label style="width: 180px;">
                <span class="title">Data Entrada:</span>
                <input type="text" id="dtEntrada" name="dtEntrada" class="data_inicio" value="<?=@$dtEntrada?>"/>                              
            </label>  
             <label style="width: 60px;">
                <span class="title">Hora:</span>
                  <select name="cmbHorasEntrada" id="cmbHorasEntrada"  style="width: 60px;">
                      <option value=""></option>
                        <?=$horasEntrada?>    
                  </select>                           
            </label>   
             <label style="width: 60px;">
                <span class="title">Min:</span>
                  <select name="cmbMinEntrada" id="cmbMinEntrada"  style="width: 60px;">
                      <option value=""></option>
                        <?=$minEntrada?>    
                  </select>                           
            </label>   
             <label style="width: 60px;">
                <span class="title">Seg:</span>
                  <select name="cmbSegEntrada" id="cmbSegEntrada"  style="width: 60px;">
                      <option value=""></option>
                        <?=$segEntrada?>    
                  </select>                           
            </label>   
        </div>        
         <div class="fix-post">
            <label style="width: 180px;">
                <span class="title">Data Saída:</span>
                <input type="text" id="dtSaida" name="dtSaida" class="data_inicio" value="<?=@$dtSaida?>"/>                              
            </label>  
             <label style="width: 60px;">
                <span class="title">Hora:</span>
                  <select name="cmbHorasSaida" id="cmbHorasSaida"  style="width: 60px;">
                      <option value=""></option>
                        <?=$horasSaida?>    
                  </select>                           
            </label>   
             <label style="width: 60px;">
                <span class="title">Min:</span>
                  <select name="cmbMinSaida" id="cmbMinSaida"  style="width: 60px;">
                      <option value=""></option>
                        <?=$minSaida?>    
                  </select>                           
            </label>   
             <label style="width: 60px;">
                <span class="title">Seg:</span>
                  <select name="cmbSegSaida" id="cmbSegSaida"  style="width: 60px;">
                      <option value=""></option>
                        <?=$segSaida?>    
                  </select>                           
            </label>   
        </div>        
         
        <label class="dtosv">
            <span class="title">Motivo:</span>
            <textarea style="font-family: Tahoma; font-size: 13px" id="motivo" name="motivo" rows="2" cols="50"><?=$motivo?></textarea>
        </label>
        <input type="hidden" id="token" name="token" value="<?= @$token ?>"/>
        <input type="button" value="SALVAR" class="btn" name="btn_Salvar" id="btn_Salvar"/>  
        <div align="left" >
        <input type="button" value="VOLTAR" class="btn" name="btnVoltar" id="btnVoltar"/>        
        </div>
    </form> 
</div>
<script type="text/javascript">
$(document).ready(function() {
    
    calendario1('dtEntrada');
    calendarioSaida('dtSaida');
  
    $('#btn_Salvar').click(function(){
        validaFormVisitanteEditar();
    });
    
    $('#btnVoltar').click(function(){
        voltar();
    });
});
</script>